// 多选过滤组件文件
.layout {
  width: 1200px;
  max-width: 1200px;
  min-height: 55px;
  padding: 13px 55px 13px 31px;
}

.selected-tag-wrap {
  position: relative;
  width: 100%;
  height:100%;
  .spin-wrap {  // 加载动画
    position: absolute;
    top: 0;
  }
  .f-list-wrap {
    padding-bottom: 0px;
  }
}

.filter-wrap {
  @extend .flex-center-center;
  @extend .flex-column;
  font-size: 16px;
  
  // 头部已选样式
  .f-selected-wrap {
    display: flex;
    // align-items: center;
    @extend .layout;
    min-height: 30px;
    background: #E8F1F7;
    border-radius: 8px;
    .tags-wrap {
      flex: 1;
      margin: 0px 20px;
      .space-wrap {
        width: 100%;
        flex-wrap: wrap;
      }
      .ant-space-item {
        display: block;
        width: 100%;
        height: 100%;
        margin-right: 0px !important;
        margin-bottom: 8px;
      }
      .ant-space-item:nth-child(1) {
        margin-bottom: 0px
      }
    }
  }
  .selectedWrap{
    align-items: center;
  }
  .f-list-wrap {  // 过滤列表样式
    @extend .layout;
    display: flex;
    // align-items: center;
    position: relative;
    padding-right: 55px;
    .label-wrap { // 标题+图标
      display: inline-block;
      min-width: 140px;
      padding-top: 10px;
      &>span:first-child {
        @extend .flex-align-center;
        width: 100%;
        &>div:last-child {
          flex: 1;
          text-align: left;
          padding: 0 10px 0 16px;
          font-weight: bold;
          color: #333333;
          font-size: 16px;
        }
      }
    }
    .showMore {
      flex-wrap: wrap;
    }
    .tag-list-wrap {
      flex: 1;
      font-size:16px;
      overflow: hidden;
      .ant-space-item {
        margin-right: 0px !important;
        text-align: left;
      }
      .space-wrap {
        height: 100%;
        width: 100%;
        overflow: hidden;
      }
    }
    .ant-tag {
      // border: 0px;
      width: 120px;
      height: 44px;
      text-align: center;
      line-height: 44px;
      font-size: 14px;
      padding: 1px 4px;
      cursor: pointer;
      border: 1px solid #E6E6E6;
      border-radius: 4px;
      margin-bottom: 17px;
      color: #666666;
      overflow: hidden;
      white-space: nowrap;
      text-overflow:ellipsis;
    }
    .lableClass{
      border: none !important;
      width: 500px !important;
    }
  }
  .ant-tag{ // tag样式
    display: inline-block;
    border: 1px solid #2A8EE7;
    height: 40px;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #2A8EE7;
    line-height: 40px;
    text-align: center;
    padding: 0 16px;
  }
  .ant-tag-checkable-checked {
    background: #FFFFFF;
    border: 1px solid #2A8EE7 !important;
    border-radius: 4px;
    color: #666666;
    span {
      padding: 2px;
    }
  }
  .ant-tag-checkable:active {
    background: transparent;
  }
}